package org.dromara.solonplugins.job;

/**
 * Job信息包装
 *
 * @author: aoshiguchen
 */
public class JobInfo {
	private String id;
	private String name;
	private String desc;
	private String cron;
	private String param;
	private boolean enable;
	private IJobHandler jobHandler;

	public String getId() {
		return id;
	}

	public JobInfo setId(String id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return name;
	}

	public JobInfo setName(String name) {
		this.name = name;
		return this;
	}

	public String getDesc() {
		return desc;
	}

	public JobInfo setDesc(String desc) {
		this.desc = desc;
		return this;
	}

	public String getCron() {
		return cron;
	}

	public JobInfo setCron(String cron) {
		this.cron = cron;
		return this;
	}

	public String getParam() {
		return param;
	}

	public JobInfo setParam(String param) {
		this.param = param;
		return this;
	}

	public boolean isEnable() {
		return enable;
	}

	public JobInfo setEnable(boolean enable) {
		this.enable = enable;
		return this;
	}

	public IJobHandler getJobHandler() {
		return jobHandler;
	}

	public JobInfo setJobHandler(IJobHandler jobHandler) {
		this.jobHandler = jobHandler;
		return this;
	}
}
